Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compiler warnings #5619

Merged
merged 1 commit into from
Apr 2, 2024
Merged

Fix compiler warnings #5619

merged 1 commit into from
Apr 2, 2024

Conversation

gassmoeller
Copy link
Member

gcc warns me #5617 creates a copy warning: loop variable ‘p’ creates a copy from type ‘const std::pair<std::pair<unsigned int, unsigned int>, unsigned int>’ [-Wrange-loop-construct]. Probably not very expensive, but fixing the warning anyway.

Copy link
Member

@tjhei tjhei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@tjhei tjhei merged commit 34b25d8 into geodynamics:main Apr 2, 2024
8 checks passed
@gassmoeller gassmoeller deleted the fix_warnings branch April 2, 2024 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants